﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.IotInfo;
using LJX.SmartPark.Domain.SysManage;
using LJX.SmartPark.Service.IotInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SysManage
{
    public interface IRoleManageService : ITransientService
    {
        Task<Response<List<RoleManage>>> GetRoleManageAsync(RoleForm form);
        Task<Response<bool>> PostAddRoleManage(RoleManage input);
        Task<Response<bool>> DeleteByIdAsync(RoleManage input);
        Task<Response<bool>> PutUpdateRoleManage(RoleManage input);
    }

    public class RoleForm
    {
        public int pageIndex { get; set; }

        public int pageSize { get; set; }

        public string roleName { get; set; }
    }
}
